package com.smartfactory.sail.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smartfactory.sail.entity.Logistics;
import com.smartfactory.sail.entity.OrderLogistics;
import com.smartfactory.sail.vo.PageParam;
import com.smartfactory.sail.vo.logistics.ListLogisticsForStorage;
import com.smartfactory.sail.vo.logistics.LogisticsResp;
import com.smartfactory.sail.vo.order.OrderLogisticsReq;
import com.smartfactory.sail.vo.order.OrderLogisticsResp;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 物流信息表 服务类
 * </p>
 *
 * @author 王巨壁
 * @since 2019-07-24
 */
public interface ILogisticsService extends IService<Logistics> {

    boolean saveLogistics(OrderLogisticsReq orderLogisticsReq);

    List<OrderLogisticsResp> findLogistics(long orderId);

    boolean requestLogistics(List<OrderLogistics> logistics);

    List<String> companys();

    boolean confirmLogistics(long logisticsId);

    List<Logistics> listLogistics(long custId);

    LogisticsResp detailLogistics(long logisticsId);

    IPage<ListLogisticsForStorage> getSendGoodsList(PageParam pageParam, Map<String,Object> queryParam);
}
